<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>LCV Framework: dip.c-Dateireferenz</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Erzeugt von Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Hauptseite</span></a></li>
    <li><a href="classes.html"><span>Datenstrukturen</span></a></li>
    <li class="current"><a href="files.html"><span>Dateien</span></a></li>
  </ul>
</div>
<h1>dip.c-Dateireferenz</h1>Digital Image Processing Implementationen. <a href="#_details">Mehr ...</a>
<p>
<code>#include &lt;fcntl.h&gt;</code><br>
<code>#include &lt;stdlib.h&gt;</code><br>
<code>#include &lt;stdio.h&gt;</code><br>
<code>#include &lt;string.h&gt;</code><br>
<code>#include &lt;strings.h&gt;</code><br>
<code>#include &quot;<a class="el" href="lcv-structs_8h-source.html">lcv-structs.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="lcv-config_8h-source.html">lcv-config.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="dip_8h-source.html">dip.h</a>&quot;</code><br>

<p>
<a href="dip_8c-source.html">gehe zum Quellcode dieser Datei</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Funktionen</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#3207c4aea24dad8d08ad3ded4f6ba876">lcv_clone_picture</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fertigt eine Kopie eines Bildes an, inklusive aller Parameter.  <a href="#3207c4aea24dad8d08ad3ded4f6ba876"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#7043e383be4ca95f8b41acee08c8eba9">lcv_free_picture</a> (<a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#44ed40cd097d1bfce8480855457071ae">lcv_invert</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Invertiert Bild.  <a href="#44ed40cd097d1bfce8480855457071ae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#68b064713e293ce23b6d9f5023449928">lcv_reverse</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Spiegelt Bild.  <a href="#68b064713e293ce23b6d9f5023449928"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#e5f25b2e1cb17f96c78edb030c185087">lcv_avg_value</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Berechnet den Durchschnittswert eines Bildes.  <a href="#e5f25b2e1cb17f96c78edb030c185087"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#d04debfd2555f7c1a887bb29f2d18e94">lcv_rgb2gray</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wandelt ein 24Bit BGR Bild in ein 8Bit Graustufenbild um.  <a href="#d04debfd2555f7c1a887bb29f2d18e94"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="structlcv__picture.html">lcv_picture</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="dip_8c.html#0e7dc12ed58b8d050583d2a8b78118a6">lcv_gray2rgb</a> (const <a class="el" href="structlcv__picture.html">lcv_picture</a> *pic)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Wandelt ein 8Bit Graustufenbild in ein 24Bit BGR Bild um.  <a href="#0e7dc12ed58b8d050583d2a8b78118a6"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Ausführliche Beschreibung</h2>
Digital Image Processing Implementationen. 
<p>
<dl class="author" compact><dt><b>Autor:</b></dt><dd>Daniel Kummer, Sebastian Kummer </dd></dl>
<dl class="date" compact><dt><b>Datum:</b></dt><dd>Donnerstag, Dezember 12, 2007 </dd></dl>
<dl class="version" compact><dt><b>Version:</b></dt><dd>1.0 </dd></dl>

<p>Definiert in Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>
<hr><h2>Dokumentation der Funktionen</h2>
<a class="anchor" name="e5f25b2e1cb17f96c78edb030c185087"></a><!-- doxytag: member="dip.c::lcv_avg_value" ref="e5f25b2e1cb17f96c78edb030c185087" args="(const lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int lcv_avg_value           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Berechnet den Durchschnittswert eines Bildes. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Bild </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Durchschnittswert </dd></dl>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00082">82</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="3207c4aea24dad8d08ad3ded4f6ba876"></a><!-- doxytag: member="dip.c::lcv_clone_picture" ref="3207c4aea24dad8d08ad3ded4f6ba876" args="(const lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlcv__picture.html">lcv_picture</a> lcv_clone_picture           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fertigt eine Kopie eines Bildes an, inklusive aller Parameter. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Bild </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Kopiertes Bild </dd></dl>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00020">20</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00037">lcv_write_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="7043e383be4ca95f8b41acee08c8eba9"></a><!-- doxytag: member="dip.c::lcv_free_picture" ref="7043e383be4ca95f8b41acee08c8eba9" args="(lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void lcv_free_picture           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00033">33</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="0e7dc12ed58b8d050583d2a8b78118a6"></a><!-- doxytag: member="dip.c::lcv_gray2rgb" ref="0e7dc12ed58b8d050583d2a8b78118a6" args="(const lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlcv__picture.html">lcv_picture</a> lcv_gray2rgb           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wandelt ein 8Bit Graustufenbild in ein 24Bit BGR Bild um. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Umzuwandelndes Bild </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>BGR Bild </dd></dl>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00120">120</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

<p>Wird benutzt von <a class="el" href="bmp_8c-source.html#l00037">lcv_write_bmp()</a>.</p>

</div>
</div><p>
<a class="anchor" name="44ed40cd097d1bfce8480855457071ae"></a><!-- doxytag: member="dip.c::lcv_invert" ref="44ed40cd097d1bfce8480855457071ae" args="(const lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlcv__picture.html">lcv_picture</a> lcv_invert           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Invertiert Bild. 
<p>
<dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Zu invertierendes Bild </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Invertiertes Bild </dd></dl>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00038">38</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="68b064713e293ce23b6d9f5023449928"></a><!-- doxytag: member="dip.c::lcv_reverse" ref="68b064713e293ce23b6d9f5023449928" args="(const lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlcv__picture.html">lcv_picture</a> lcv_reverse           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Spiegelt Bild. 
<p>
Aus bottom-up wird top-down <dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Zu spiegelndes Bild </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Gespiegeltes Bild </dd></dl>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00057">57</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

</div>
</div><p>
<a class="anchor" name="d04debfd2555f7c1a887bb29f2d18e94"></a><!-- doxytag: member="dip.c::lcv_rgb2gray" ref="d04debfd2555f7c1a887bb29f2d18e94" args="(const lcv_picture *pic)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlcv__picture.html">lcv_picture</a> lcv_rgb2gray           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlcv__picture.html">lcv_picture</a> *&nbsp;</td>
          <td class="paramname"> <em>pic</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Wandelt ein 24Bit BGR Bild in ein 8Bit Graustufenbild um. 
<p>
Dieses Format wird nur intern verwendet, beim Abspeichern werden die Grausufeninformationen auf 24Bit abgebildet. <dl compact><dt><b>Parameter:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>pic</em>&nbsp;</td><td>Umzuwandelndes Bild </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Rückgabe:</b></dt><dd>Graustufenbild </dd></dl>

<p>Definiert in Zeile <a class="el" href="dip_8c-source.html#l00094">94</a> der Datei <a class="el" href="dip_8c-source.html">dip.c</a>.</p>

</div>
</div><p>
<hr size="1"><address style="text-align: right;"><small>Erzeugt am Wed Dec 19 16:38:17 2007 für LCV Framework von&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>
